Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix flaky SFTP file time tests #1414

Merged
merged 2 commits into from
Jun 4, 2024
Merged

Conversation

mus65
Copy link
Contributor

@mus65 mus65 commented May 25, 2024

These asserts currently assume that DateTime.Now and the creation timestamp on the server happen within the same second.

Note that I didn't change the asserts below where an explicit timestamp is set. From my understanding, these should not be affected.

example: https://ci.appveyor.com/project/drieseng/ssh-net/builds/49850731/job/u6lk0cyipbxkp4jd

These asserts currently assume that DateTime.Now and the
creation timestamp on the server happen within the same second.

Note that I didn't change the asserts below where an explicit
timestamp is set. From my understanding, these should not be affected.

example: https://ci.appveyor.com/project/drieseng/ssh-net/builds/49850731/job/u6lk0cyipbxkp4jd
@Rob-Hague
Copy link
Collaborator

Thanks, I'm pretty sure I just deleted these asserts in some similar tests but maybe I missed some. I'm out for the next week or so so may not come back until then

@Rob-Hague
Copy link
Collaborator

Yeah, let's just delete them. The real asserts are a few lines lower.

@mus65
Copy link
Contributor Author

mus65 commented Jun 4, 2024

I removed them.

Copy link
Collaborator

@Rob-Hague Rob-Hague left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@Rob-Hague Rob-Hague merged commit dda27a3 into sshnet:develop Jun 4, 2024
1 check failed
@mus65 mus65 deleted the fixlastwritetimetest branch September 14, 2024 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants